import { createStore } from 'vuex'
import state from './state'
import * as actions from './actions'
import * as mutations from './mutations'
import getters from './getters'
import medicalStaff from './medicalStaff'
import user from './user.js'

const store = createStore({
    getters,
    state,
    modules: {
        user,
        medicalStaff: medicalStaff,
    },
})

export default store